package nc.itf.budget.bx;



/**
 * business service ejb wrapper 
 * Created by EJBGenerator
 * based on velocity technology
 */

public class IExpenses_Local extends nc.bs.mw.naming.BeanBase
    implements nc.itf.budget.bx.IExpensesEjbObject {
   
  public IExpenses_Local() {
	super();
  }

  private nc.itf.budget.bx.IExpensesEjbBean _getBeanObject() throws java.rmi.RemoteException {
    return (nc.itf.budget.bx.IExpensesEjbBean) getEjb();
  }

  public void updateUsedMoneyfy(java.util.ArrayList arg0) throws java.lang.Exception{
    beforeCallMethod(nc.itf.budget.bx.IExpenses_Method_Const_Local.Method_updateUsedMoneyfy$ArrayList_arg0    );
    Exception er = null;
	try{
				_getBeanObject().updateUsedMoneyfy(arg0);			
	}
	catch(Exception e){
		er = e;
	} catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.budget.bx.IExpenses_Method_Const_Local.Method_updateUsedMoneyfy$ArrayList_arg0, er);    	
	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof java.lang.Exception ){
    		throw (java.lang.Exception)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
 }
  public void updateUsedMoneycl(java.util.ArrayList arg0) throws java.lang.Exception{
    beforeCallMethod(nc.itf.budget.bx.IExpenses_Method_Const_Local.Method_updateUsedMoneycl$ArrayList_arg0    );
    Exception er = null;
	try{
				_getBeanObject().updateUsedMoneycl(arg0);			
	}
	catch(Exception e){
		er = e;
	} catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.budget.bx.IExpenses_Method_Const_Local.Method_updateUsedMoneycl$ArrayList_arg0, er);    	
	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof java.lang.Exception ){
    		throw (java.lang.Exception)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
 }
  public void resetAllUsedMoney() throws java.lang.Exception{
    beforeCallMethod(nc.itf.budget.bx.IExpenses_Method_Const_Local.Method_resetAllUsedMoney    );
    Exception er = null;
	try{
				_getBeanObject().resetAllUsedMoney();			
	}
	catch(Exception e){
		er = e;
	} catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.budget.bx.IExpenses_Method_Const_Local.Method_resetAllUsedMoney, er);    	
	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof java.lang.Exception ){
    		throw (java.lang.Exception)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
 }
  public double getUserMoney_fy(java.lang.String arg0) throws java.lang.Exception{
    beforeCallMethod(nc.itf.budget.bx.IExpenses_Method_Const_Local.Method_getUserMoney_fy$String_arg0    );
    Exception er = null;
		double o = 0;
	try{
				o = (double)_getBeanObject().getUserMoney_fy(arg0);			
	}
	catch(Exception e){
		er = e;
	}  catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.budget.bx.IExpenses_Method_Const_Local.Method_getUserMoney_fy$String_arg0, er);
	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof java.lang.Exception ){
    		throw (java.lang.Exception)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
	return o;
 }
  public double getUserMoney_cl(java.lang.String arg0) throws java.lang.Exception{
    beforeCallMethod(nc.itf.budget.bx.IExpenses_Method_Const_Local.Method_getUserMoney_cl$String_arg0    );
    Exception er = null;
		double o = 0;
	try{
				o = (double)_getBeanObject().getUserMoney_cl(arg0);			
	}
	catch(Exception e){
		er = e;
	}  catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.budget.bx.IExpenses_Method_Const_Local.Method_getUserMoney_cl$String_arg0, er);
	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof java.lang.Exception ){
    		throw (java.lang.Exception)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
	return o;
 }
  public java.lang.String getHtbhByYsxm(java.lang.String arg0) throws java.lang.Exception{
    beforeCallMethod(nc.itf.budget.bx.IExpenses_Method_Const_Local.Method_getHtbhByYsxm$String_arg0    );
    Exception er = null;
	java.lang.String o = null;
	try{
				o = (java.lang.String)_getBeanObject().getHtbhByYsxm(arg0);			
	}
	catch(Exception e){
		er = e;
	} catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);	  
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.budget.bx.IExpenses_Method_Const_Local.Method_getHtbhByYsxm$String_arg0, er);
 	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof java.lang.Exception ){
    		throw (java.lang.Exception)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
	return o;
 }
  public double getHetongLeftMoney(java.lang.String arg0) throws java.lang.Exception{
    beforeCallMethod(nc.itf.budget.bx.IExpenses_Method_Const_Local.Method_getHetongLeftMoney$String_arg0    );
    Exception er = null;
		double o = 0;
	try{
				o = (double)_getBeanObject().getHetongLeftMoney(arg0);			
	}
	catch(Exception e){
		er = e;
	}  catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.budget.bx.IExpenses_Method_Const_Local.Method_getHetongLeftMoney$String_arg0, er);
	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof java.lang.Exception ){
    		throw (java.lang.Exception)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
	return o;
 }
  public double getYsje_cl(java.lang.String arg0 ,java.lang.String arg1  ,java.lang.String arg2 ) throws java.lang.Exception{
    beforeCallMethod(nc.itf.budget.bx.IExpenses_Method_Const_Local.Method_getYsje_cl$String_arg0$String_arg1$String_arg2    );
    Exception er = null;
		double o = 0;
	try{
				o = (double)_getBeanObject().getYsje_cl(arg0 ,arg1  ,arg2 );			
	}
	catch(Exception e){
		er = e;
	}  catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.budget.bx.IExpenses_Method_Const_Local.Method_getYsje_cl$String_arg0$String_arg1$String_arg2, er);
	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof java.lang.Exception ){
    		throw (java.lang.Exception)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
	return o;
 }
  public double getYsje_fy(java.lang.String arg0 ,java.lang.String arg1  ,java.lang.String arg2 ) throws java.lang.Exception{
    beforeCallMethod(nc.itf.budget.bx.IExpenses_Method_Const_Local.Method_getYsje_fy$String_arg0$String_arg1$String_arg2    );
    Exception er = null;
		double o = 0;
	try{
				o = (double)_getBeanObject().getYsje_fy(arg0 ,arg1  ,arg2 );			
	}
	catch(Exception e){
		er = e;
	}  catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.budget.bx.IExpenses_Method_Const_Local.Method_getYsje_fy$String_arg0$String_arg1$String_arg2, er);
	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof java.lang.Exception ){
    		throw (java.lang.Exception)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
	return o;
 }
  public double getYssys(java.lang.String arg0 ,java.lang.String arg1  ,java.lang.String arg2 ) throws java.lang.Exception{
    beforeCallMethod(nc.itf.budget.bx.IExpenses_Method_Const_Local.Method_getYssys$String_arg0$String_arg1$String_arg2    );
    Exception er = null;
		double o = 0;
	try{
				o = (double)_getBeanObject().getYssys(arg0 ,arg1  ,arg2 );			
	}
	catch(Exception e){
		er = e;
	}  catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.budget.bx.IExpenses_Method_Const_Local.Method_getYssys$String_arg0$String_arg1$String_arg2, er);
	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof java.lang.Exception ){
    		throw (java.lang.Exception)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
	return o;
 }
  public double getYsys(java.lang.String arg0 ,java.lang.String arg1  ,java.lang.String arg2 ) throws java.lang.Exception{
    beforeCallMethod(nc.itf.budget.bx.IExpenses_Method_Const_Local.Method_getYsys$String_arg0$String_arg1$String_arg2    );
    Exception er = null;
		double o = 0;
	try{
				o = (double)_getBeanObject().getYsys(arg0 ,arg1  ,arg2 );			
	}
	catch(Exception e){
		er = e;
	}  catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.budget.bx.IExpenses_Method_Const_Local.Method_getYsys$String_arg0$String_arg1$String_arg2, er);
	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof java.lang.Exception ){
    		throw (java.lang.Exception)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
	return o;
 }
  public nc.vo.budget.fm_up.FormationBVO getFormationBVO(java.lang.String arg0) throws java.lang.Exception{
    beforeCallMethod(nc.itf.budget.bx.IExpenses_Method_Const_Local.Method_getFormationBVO$String_arg0    );
    Exception er = null;
	nc.vo.budget.fm_up.FormationBVO o = null;
	try{
				o = (nc.vo.budget.fm_up.FormationBVO)_getBeanObject().getFormationBVO(arg0);			
	}
	catch(Exception e){
		er = e;
	} catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);	  
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.budget.bx.IExpenses_Method_Const_Local.Method_getFormationBVO$String_arg0, er);
 	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof java.lang.Exception ){
    		throw (java.lang.Exception)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
	return o;
 }
  public double getUsedMoney(java.lang.String arg0 ,java.lang.String arg1 ) throws java.lang.Exception{
    beforeCallMethod(nc.itf.budget.bx.IExpenses_Method_Const_Local.Method_getUsedMoney$String_arg0$String_arg1    );
    Exception er = null;
		double o = 0;
	try{
				o = (double)_getBeanObject().getUsedMoney(arg0 ,arg1 );			
	}
	catch(Exception e){
		er = e;
	}  catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.budget.bx.IExpenses_Method_Const_Local.Method_getUsedMoney$String_arg0$String_arg1, er);
	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof java.lang.Exception ){
    		throw (java.lang.Exception)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
	return o;
 }
}